PXC Documentation

PXC Home

Markov

pre 1.18

Node Data

Display name

Markov

Internal name

Node_Markov

Inheritances

Node_Processor
Node_Markov

Inputs

surface

Surface In

Matching

surface

Match

palette

Match Group

slider

Threshold

enum

Transform

enum

Boundary

Tiling

enum

Tiling

ivec2

Tile Size

ivec2

Tile Offset

Replacement

surface

Replace

slider

Replace Chance

float

Maximum Count

enum

Transform

bool

Reverse Order

Outputs

surface

Surface Out


Match surface pattern and replace with different surface.



Properties


Matching
MatchPattern to match.
Match GroupColors in these group will be treat as the same color.
ThresholdMaximum different between two pixels to still be consider the same color.
TransformApply match to rotated, flip surface.
BoundaryMethod for dealing with boundary pixels:
- Ignore: Treat overflow pixel as always matched.
- Stop: Treat overflow pixel as always unmatched.
- Clamp: Clamp pixel edge.
Tiling
TilingSpaced out pattern matching in tile instead of overlapping per pixels.
Replacement
ReplacePattern to replace to.
Replace ChanceChance to replace.
Maximum CountSet the limit of how many replacements can be done. Set to zero for no limit.
TransformApply random transformation.
Reverse OrderReverse replacement order.



Commit History


1.20.3.1
  • Introduced

Related Links